//
//  AccountSettingViewController.h
//  TTAddressBook
//
//  Created by WangJuan on 12-1-5.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIBaseViewController.h"

@interface AccountSettingViewController : UIBaseViewController <UIActionSheetDelegate,
                                                                UINavigationControllerDelegate,
                                                                UIImagePickerControllerDelegate,
                                                                UIAlertViewDelegate>
{
    BOOL                isSavedToAlbum;     //所选图片是否需要保存到相册里
    UIImage             *picture;
}

@property (retain, nonatomic) IBOutlet UIButton     *pictureButton;
@property (retain, nonatomic) IBOutlet UITextField  *nameField;
@property (retain, nonatomic) IBOutlet UILabel      *accountLabel;

- (IBAction)backgroudClick:(id)sender;
- (IBAction)changeAccount:(id)sender;
- (IBAction)accoutButtonClick:(id)sender;
- (IBAction)pictureButtonClick:(id)sender;
- (IBAction)textFieldDoneEditing:(id)sender;

- (void)cancelClick;
- (void)saveClick;
- (NSString *)findUniqueSavePath;

@end
